﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tetris
{
    [Serializable]
    class Node
    {
        public int X { get; set; }
        public int Y { get; set; }
        public ConsoleColor NodeColor { get; private set; }
        

        public Node(ConsoleColor color)
        {
            NodeColor = color;
        }

        public void MoveDown()
        {
            Y++;
        }

        public void MoveLeft()
        {
            X--;
        }

        public void MoveRight()
        {
            X++;
        }
    }
}
